import request from '@/utils/request'

export function getLogApiPage(query) {
    return request({
        url: "admin/logApi/page",
        method: "get",
        params: query
    });
}

export function deleteLogApiByIds(ids) {
    return request({
        url: `admin/logApi/delete/${Array.isArray(ids) ? ids.join(',') : ids}`,
        method: "delete"
    })
}

export function queryLogApiById(id){
    return request({
        url:`admin/logApi/${id}`,
        method:"get"
    })
}